/* eslint-disable no-unused-vars */
import React, { useEffect, useState } from "react";
import styles from './title.module.css'


/** 公共段落组件-标题 */
export default function Title({ level, style, children }) {

    useEffect(() => {

        return () => {
        }
    }, [])

    return (
        <div className={styles.titleRoot} style={{ ...style }}>
            {/* 内容区域 */}
            {children}
        </div>
    )
}